package com.student.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "stu_info")
public class StudentInfo {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    private Integer stuSex;
    private String stuName;
    private String stuClass;
    private String stuCollege;
    private String stuId;
    private String stuPhone;
    private Integer stuAge;
    private Integer isDelete;
}
